﻿using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace PersonalWeekReport.Models.Common
{
  
        public class Role : IdentityRole
        {
            public Role() : base()
            {

            }

            public Role(string name) : base(name)
            {

            }
            public Role(string name, string discription) : base(name)
            {
                Discription = discription;
            }

            [Display(Name = "角色描述", Prompt = "请填写角色描述"), StringLength(128)]
            public string Discription { set; get; }
        }
    
}